package org.callisto;

public class Globals {

	static boolean debug = false;
	static String handlers = "DGC";
	
	public static String getHandlers() {
		return handlers;
	}

	public static void setHandlers(String handlers) {
		Globals.handlers = handlers;
	}

	public static boolean getDebugFlag() {
		return debug;
	}
	
	public static void setDebugFlag(boolean debug) {
		Globals.debug = debug;
	}
	
	public static void log(String message) {
		if (debug) 
			System.out.print(message);
	}
	
	public static void logln(String message) {
		if (debug) 
			System.out.println(message);
	}
}
